////////////////////////////////////////////////////////////////////////////////
//
//  FLEX USER GROUP HOKURIKU
//  Copyright 2009 Flex User Group Hokuriku
//  All Rights Reserved.
// 
//  NOTICE: Flex User Group Hokuriku permits you to use, 
//  modify, and distribute this file 
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////
package net.fxug.hokuriku.chocolat.events
{
    import flash.events.Event;
    
    import net.fxug.hokuriku.chocolat.service.data.SocketServerData;
    
    public class SonarEvent extends Event
    {
        public static const SERVER_NOT_DISCOVER:String = "SERVER_NOT_DISCOVER"; // pingに反応が無かった
        public static const SERVER_REPLY_RECIEVED:String = "SERVER_REPLY_RECIEVED"; // サーバー側のpingに対する返答を受け取った
        
        public var serverData:SocketServerData = null;
        
        public function SonarEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
        {
            super(type, bubbles, cancelable);
        }
		/**
		 * @inheritDoc flash.events.Event#clone()
		 */
		override public function clone() : Event
		{
			return new SonarEvent(type, bubbles, cancelable);
		}
    }
}